Skip to content

GitHub Issue 950: cross folder export/import roundtripping problems for MVTC with commas and quotes#7523

Open
XingY wants to merge 4 commits intodevelopfrom
fb_git950
Open

GitHub Issue 950: cross folder export/import roundtripping problems for MVTC with commas and quotes#7523
XingY wants to merge 4 commits intodevelopfrom
fb_git950

Conversation

@XingY
Copy link
Contributor

@XingY XingY commented Mar 25, 2026

Rationale

Cross folder/type import writes data file into partitions. When writing MVTC fields, we need to make sure the array is converted to exportable string and escaped properly.

Related Pull Requests

Changes

@XingY XingY requested a review from cnathe March 25, 2026 21:43
Comment on lines +3245 to +3246
String displayVal = PageFlowUtil.joinValuesToStringForExport(array);
return _tsvWriter.quoteValue(displayVal.trim());
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

it looks like MultiChoice.Array has a toString() method that does the PageFlowUtil.joinValuesToStringForExport part. Could this be changed to use that?
i.e. return _tsvWriter.quoteValue(array.toString().trim());

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Good point. Updated.

@XingY XingY requested a review from cnathe March 26, 2026 19:26
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants